﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Model
{
    public class SAPDataModel
    {
        public string l_type { get; set; }
        public string l_tc_owr001 { get; set; }
        public string l_tc_owr002 { get; set; }
        public string l_tc_owr003 { get; set; }
        public string l_tc_owr004 { get; set; }
        public string l_tc_owr005 { get; set; }
        public DateTime? l_tc_owr006 { get; set; }
        public DateTime? l_tc_owr007 { get; set; }
        public DateTime? l_tc_owr008 { get; set; }
        public string l_tc_owr009 { get; set; }
        public string l_tc_owr010 { get; set; }
        public string l_tc_owr0101 { get; set; }
        public string l_tc_owr011 { get; set; }
        public string l_tc_owr012 { get; set; }
        public string l_tc_owr013 { get; set; }
        public string l_tc_owr014 { get; set; }
        public string l_tc_owr015 { get; set; }
        public string l_tc_owr016 { get; set; }
        public string l_tc_owr017 { get; set; }
        public string l_tc_owr018 { get; set; }
        public string l_tc_owr019 { get; set; }
        public DateTime? l_tc_owr020 { get; set; }
        public string l_tc_owr021 { get; set; }
        public string l_tc_owr0131 { get; set; }
        public string l_tc_owr022 { get; set; }
        public string l_tc_owr0191 { get; set; }
        public string l_tc_owr0132 { get; set; }
        public string l_tc_owr0133 { get; set; }
        public string l_tc_owr023 { get; set; }
        public DateTime? l_tc_owr024 { get; set; }
        public string l_tc_owr025 { get; set; }
        public string l_tc_owr026 { get; set; }
        public string l_tc_owr027 { get; set; }

        public string l_tc_ows000 { get; set; }
        public string l_tc_ows001 { get; set; }
        public string l_tc_ows002 { get; set; }
        public string l_tc_ows003 { get; set; }
        public string l_tc_ows004 { get; set; }
        public string l_tc_ows005 { get; set; }
        public string l_tc_ows006 { get; set; }
        public string l_tc_ows007 { get; set; }
        public string l_tc_ows008 { get; set; }
        public string l_tc_ows009 { get; set; }
        public string l_tc_ows010 { get; set; }
        public string l_tc_ows011 { get; set; }
        public string l_tc_ows012 { get; set; }
        public string l_tc_ows013 { get; set; }
        public string l_tc_ows014 { get; set; }
        public DateTime? l_tc_ows019 { get; set; }
        public string l_tc_ows022 { get; set; }

        public DateTime l_outdt { get; set; }

        public string l_tc_oww000 { get; set; }
        public string l_tc_oww001 { get; set; }
        public string l_tc_oww002 { get; set; }
        public string l_tc_oww003 { get; set; }
        public string l_tc_oww004 { get; set; }

        public string ZTMM009K_Mandt { get; set; }
        public string ZTMM009K_Ebeln { get; set; }
        public string ZTMM009K_Ekorg { get; set; }
        public string ZTMM009K_Bsart { get; set; }
        public string ZTMM009K_Lifnr { get; set; }
        public string ZTMM009K_Lifn2 { get; set; }
        public string ZTMM009K_Bedat { get; set; }
        public string ZTMM009K_Call_Type { get; set; }
        public string ZTMM009K_Zpointf { get; set; }

        public string ZTMM009P_Mandt { get; set; }
        public string ZTMM009P_Ebeln { get; set; }
        public string ZTMM009P_Ebelp { get; set; }
        public string ZTMM009P_Matnr { get; set; }
        public string ZTMM009P_Menge { get; set; }
        public string ZTMM009P_Meins { get; set; }
        public string ZTMM009P_Charg { get; set; }
        public string ZTMM009P_Werks { get; set; }
        public string ZTMM009P_Lgort { get; set; }
        public string ZTMM009P_Bwart { get; set; }
        public string ZTMM009P_Outdt { get; set; }
        public string ZTMM009P_Call_Type { get; set; }
        public string ZTMM009P_Zpointf { get; set; }
        //物料凭证
        public string ZSMMRFC_PKPF_EXPORT_Bwart { get; set; }
        public string ZSMMRFC_PKPF_EXPORT_Rsdat { get; set; }
        public string ZSMMRFC_PKPF_EXPORT_Werks { get; set; }
        public string ZSMMRFC_PKPF_EXPORT_Rsnum { get; set; }
        public string ZSMMRFC_PKPF_EXPORT_Rspos { get; set; }
        public string ZSMMRFC_PKPF_EXPORT_Matnr { get; set; }
        public string ZSMMRFC_PKPF_EXPORT_Zcss { get; set; }
        //预留凭证
        public string ZMMRFC_MSEG_EXPORT_Budat { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Cpudt { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Xblnr { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Usnam { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Mblnr { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Mjahr { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Zeile { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Bwart { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Matnr { get; set; }
        public decimal ZMMRFC_MSEG_EXPORT_Lfimg { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Meins { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Charg { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Werks { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Lgort { get; set; }
        public string ZMMRFC_MSEG_EXPORT_Kostl { get; set; }

        //交货单
        public string ZTSD001K_Mandt { get; set; }
        public string ZTSD001K_Inftid { get; set; }
        public string ZTSD001K_Vbeln { get; set; }
        public string ZTSD001K_Kunag { get; set; }
        public string ZTSD001K_Lifnr1 { get; set; }
        public string ZTSD001K_Lifnr2 { get; set; }
        public string ZTSD001K_Z_Status { get; set; }
    
        public string ZTSD001P_Mandt { get; set; }
        public string ZTSD001P_Vbeln { get; set; }
        public string ZTSD001P_Posnr { get; set; }
        public string ZTSD001P_Lgort { get; set; }
        public string ZTSD001P_Pstyv { get; set; }
        public string ZTSD001P_Matnr { get; set; }
        public string ZTSD001P_Vrkme { get; set; }
        public string ZTSD001P_Kdmat { get; set; }
        public string ZTSD001P_Charg { get; set; }
        public string ZTSD001P_Inftid { get; set; }



        /// <summary>
        /// 转储订单
        /// </summary>
        public ZTMM009K ZTMM009K { get; set; }
        /// <summary>
        /// 转储订单
        /// </summary>
        public ZTMM009P ZTMM009P { get; set; }

        /// <summary>
        /// 物料凭证
        /// </summary>
        public ZSMMRFC_PKPF_EXPORT PKPF_EXPORT { get; set; }

        /// <summary>
        /// 预留凭证
        /// </summary>
        public ZSMMRFC_MSEG_EXPORT MSEG_EXPORT { get; set; }


        /// <summary>
        /// 交货单
        /// </summary>
        public ZTSD001K ZTSD001K { get; set; }

        public ZTSD001P ZTSD001P { get; set; }
    }

    public class ZTMM009K
    {
        public string Mandt { get; set; }
        public string Ebeln { get; set; }
        public string Ekorg { get; set; }
        public string Bsart { get; set; }
        public string Lifnr { get; set; }
        public string Lifn2 { get; set; }
        public string Bedat { get; set; }
        public string Call_Type { get; set; }
        public string Zpointf { get; set; }
    }

    public class ZTMM009P
    {
        public string Mandt { get; set; }
        public string Ebeln { get; set; }
        public string Ebelp { get; set; }
        public string Matnr { get; set; }
        public string Menge { get; set; }
        public string Meins { get; set; }
        public string Charg { get; set; }
        public string Werks { get; set; }
        public string Lgort { get; set; }
        public string Bwart { get; set; }
        public string Outdt { get; set; }
        public string Call_Type { get; set; }
        public string Zpointf { get; set; }
    }

    public class ZSMMRFC_PKPF_EXPORT
    {
        public string Bwart { get; set; }
        public string Rsdat { get; set; }
        public string Werks { get; set; }
        public string Rsnum { get; set; }
        public string Rspos { get; set; }
        public string Matnr { get; set; }
        public string Zcss { get; set; }
    }

    public class ZSMMRFC_MSEG_EXPORT
    {
        public string Budat { get; set; }
        public string Cpudt { get; set; }
        public string Xblnr { get; set; }
        public string Usnam { get; set; }
        public string Mblnr { get; set; }
        public string Mjahr { get; set; }
        public string Zeile { get; set; }
        public string Bwart { get; set; }
        public string Matnr { get; set; }
        public decimal Lfimg { get; set; }
        public string Meins { get; set; }
        public string Charg { get; set; }
        public string Werks { get; set; }
        public string Lgort { get; set; }
        public string Kostl { get; set; }
    }

    public class ZTSD001K
    {
        public string Mandt { get; set; }
        public string Inftid { get; set; }
        public string Vbeln { get; set; }
        public string Kunag { get; set; }
        public string Lifnr1 { get; set; }
        public string Lifnr2 { get; set; }
        public string Z_Status { get; set; }
    }

    public class ZTSD001P
    {
        public string Mandt { get; set; }
        public string Vbeln { get; set; }
        public string Posnr { get; set; }
        public string Lgort { get; set; }
        public string Pstyv { get; set; }
        public string Matnr { get; set; }
        public string Vrkme { get; set; }
        public string Kdmat { get; set; }
        public string Charg { get; set; }
        public string Inftid { get; set; }
    }

    /* public class Tc_owsModel
     {
         public string l_tc_ows000 { get; set; }
         public string l_tc_ows001 { get; set; }
         public string l_tc_ows002 { get; set; }
         public string l_tc_ows003 { get; set; }
         public string l_tc_ows004 { get; set; }
         public string l_tc_ows005 { get; set; }
         public string l_tc_ows006 { get; set; }
         public Decimal l_tc_ows007 { get; set; }
         public Decimal l_tc_ows008 { get; set; }
         public Decimal l_tc_ows009 { get; set; }
         public Decimal l_tc_ows010 { get; set; }
         public Decimal l_tc_ows011 { get; set; }
         public string l_tc_ows012 { get; set; }
         public string l_tc_ows013 { get; set; }
         public Decimal l_tc_ows014 { get; set; }
         public DateTime? l_tc_ows019 { get; set; }
         public string l_tc_ows022 { get; set; }
     }*/
}
